mod_perl"s make test fails.

mod_perl"s make test fails.

am 02.02.2008 03:04:58 von Zakk

--_a60c286f-72c2-4c04-a8c7-08d42e78ca0e_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi there.
=0A=

=0A=
For the last few days, I've been trying to install mod_perl for my=0A=
server. It's running Slackware 12.0 with Apache 2.2.8 (with APR 1.2.12)=0A=
and Perl 5.10.0.
=0A=
The version of mod_perl I'm using is 2.0.4-dev, a recent SVN checkout.=0A=
I would be normally be using the stable, but I've heard that it's=0A=
incompatible with the current Perl stable.
=0A=

=0A=
I had no issues with compiling Apache, APR, Perl or mod_perl, and both=0A=
Apache & Perl has been compiled for the worker MPM. It's the 'make=0A=
test' that keeps failing.
=0A=

=0A=
Here's the output of the tests that fail...
=0A=


=0A=
user@Sen:~/mod_perl-2.0$ t/TEST -verbose t/perl/ithreads.t t/perl/ithreads2=
..t t/perl/ithreads_args.t t/perl/ithreads_eval.t
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.10.0 /home/user/mod_perl-2.0/t/TEST -ve=
rbose 't/perl/ithreads.t' 't/perl/ithreads2.t' 't/perl/ithreads_args.t' 't/=
perl/ithreads_eval.t'
/usr/sbin/httpd -d /home/user/mod_perl-2.0/t -f /home/user/mod_perl-2.0/t/=
conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.8 (worker MPM)

waiting 300 seconds for server to start: .[Sat Feb 02 14:20:36 2008] [info]=
6 Apache2:: modules loaded
[Sat Feb 02 14:20:36 2008] [info] 0 APR:: modules loaded
[Sat Feb 02 14:20:36 2008] [info] base server + 30 vhosts ready to run test=
s
...........
waiting 300 seconds for server to start: ok (waited 10 secs)
server localhost:8529 started
server localhost:8530 listening (filter_out_apache)
server localhost:8531 listening (perlsections)
server localhost:8532 listening (inherit)
server localhost:8533 listening (TestUser::rewrite)
server localhost:8534 listening (TestVhost::config)
server localhost:8535 listening (TestVhost::log)
server localhost:8536 listening (TestModperl::merge)
server localhost:8537 listening (TestModperl::perl_options)
server localhost:8538 listening (TestModperl::perl_options2)
server localhost:8539 listening (TestModperl::setupenv)
server localhost:8540 listening (TestModules::proxy)
server localhost:8541 listening (TestProtocol::pseudo_http)
server localhost:8542 listening (TestProtocol::eliza)
server localhost:8543 listening (TestProtocol::echo_bbs2)
server localhost:8544 listening (TestProtocol::echo_block)
server localhost:8545 listening (TestProtocol::echo_timeout)
server localhost:8546 listening (TestProtocol::echo_filter)
server localhost:8547 listening (TestProtocol::echo_bbs)
server localhost:8548 listening (TestProtocol::echo_nonblock)
server localhost:8549 listening (TestPreConnection::note)
server localhost:8550 listening (TestHooks::trans)
server localhost:8551 listening (TestHooks::hookrun)
server localhost:8552 listening (TestHooks::startup)
server localhost:8553 listening (TestHooks::stacked_handlers2)
server localhost:8554 listening (TestHooks::init)
server localhost:8555 listening (TestFilter::in_bbs_inject_header)
server localhost:8556 listening (TestFilter::both_str_con_add)
server localhost:8557 listening (TestFilter::in_bbs_msg)
server localhost:8558 listening (TestFilter::in_str_msg)
server localhost:8559 listening (TestDirective::perlmodule)
server localhost:8560 listening (TestDirective::perlrequire)
server localhost:8561 listening (TestPerl::ithreads)
server localhost:8562 listening (TestDirective::perlloadmodule3)
server localhost:8563 listening (TestDirective::perlloadmodule4)
server localhost:8564 listening (TestDirective::perlloadmodule5)
server localhost:8565 listening (TestAPI::add_config)
server localhost:8566 listening (TestDirective::perlloadmodule6)
server localhost:8567 listening (TestHooks::push_handlers_anon)
t/perl/ithreads.........1..4
# Running under perl version 5.010000 for linux
# Current time local: Sat Feb 2 14:20:41 2008
# Current time GMT: Sat Feb 2 01:20:41 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/perl/ithreads2........# connecting to http://localhost:8561/TestPerl__ith=
reads
1..4
# Running under perl version 5.010000 for linux
# Current time local: Sat Feb 2 14:20:44 2008
# Current time GMT: Sat Feb 2 01:20:44 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/perl/ithreads_args....1..1
# Running under perl version 5.010000 for linux
# Current time local: Sat Feb 2 14:20:41 2008
# Current time GMT: Sat Feb 2 01:20:41 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
FAILED before any test output arrived
t/perl/ithreads_eval....1..1
# Running under perl version 5.010000 for linux
# Current time local: Sat Feb 2 14:20:41 2008
# Current time GMT: Sat Feb 2 01:20:41 2008
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
FAILED before any test output arrived
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------ ---------------=
----
t/perl/ithreads.t 4 3 2-4
t/perl/ithreads2.t 4 3 2-4
t/perl/ithreads_args.t ?? ?? ??
t/perl/ithreads_eval.t ?? ?? ??
Failed 4/4 test scripts. 8/10 subtests failed.
Files=3D4, Tests=3D10, 33 wallclock secs ( 8.86 cusr + 0.86 csys =3D 9.72=
CPU)
Failed 4/4 test programs. 8/10 subtests failed.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
[ error] oh golly, server dumped core
[ error] for stacktrace, run: gdb /usr/sbin/httpd -core /home/user/mod_per=
l-2.0/t/core.6705
[ error] oh dangit, server dumped core again
[ error] for stacktrace, run: gdb /usr/sbin/httpd -core /home/user/mod_per=
l-2.0/t/core.6714
[ error] oh rats, server dumped core again
[ error] for stacktrace, run: gdb /usr/sbin/httpd -core /home/user/mod_per=
l-2.0/t/core.6727
[ error] oh gosh, server dumped core again
[ error] for stacktrace, run: gdb /usr/sbin/httpd -core /home/user/mod_per=
l-2.0/t/core.6736
user@Sen:~/mod_perl-2.0$


I've had a look and Google and unfortunately it seems that I'm the only one=
with this issue. Does anyone know why this is failing and how I can preven=
t it?

Huge thanks to any replies.

____________________________________________________________ _____
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/ 01/=

--_a60c286f-72c2-4c04-a8c7-08d42e78ca0e_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable





ier New,Courier,Monospace;">
Hi there.
=
=0A=

=0A=
For the last few days, I've been trying to install mod_perl for my=0A=
server. It's running Slackware 12.0 with Apache 2.2.8 (with APR 1.2.12)=0A=
and Perl 5.10.0.
=0A=
The version of mod_perl I'm using is 2.0.4-dev, a recent SVN checkout.=0A=
I would be normally be using the stable, but I've heard that it's=0A=
incompatible with the current Perl stable.
=0A=

=0A=
I had no issues with compiling Apache, APR, Perl or mod_perl, and both=0A=
Apache & Perl has been compiled for the worker MPM. It's the 'make=0A=
test' that keeps failing.
=0A=

=0A=
Here's the output of the tests that fail...
=0A=


=0A=
user@Sen:~/mod_perl-2.0$ t/TEST -verbose t/perl/ithreads.t t/perl/ith=
reads2.t t/perl/ithreads_args.t t/perl/ithreads_eval.t
[warning] setting=
ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.10.0 /ho=
me/user/mod_perl-2.0/t/TEST -verbose 't/perl/ithreads.t' 't/perl/ithreads2.=
t' 't/perl/ithreads_args.t' 't/perl/ithreads_eval.t'
/usr/sbin/httpd&nbs=
p; -d /home/user/mod_perl-2.0/t -f /home/user/mod_perl-2.0/t/conf/httpd.con=
f -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.8 (worker MPM)

=
waiting 300 seconds for server to start: .[Sat Feb 02 14:20:36 2008] [info]=
6 Apache2:: modules loaded
[Sat Feb 02 14:20:36 2008] [info] 0 APR:: mo=
dules loaded
[Sat Feb 02 14:20:36 2008] [info] base server + 30 vhosts r=
eady to run tests
..........
waiting 300 seconds for server to start:=
ok (waited 10 secs)
server localhost:8529 started
server localhost:8=
530 listening (filter_out_apache)
server localhost:8531 listening (perls=
ections)
server localhost:8532 listening (inherit)
server localhost:8=
533 listening (TestUser::rewrite)
server localhost:8534 listening (TestV=
host::config)
server localhost:8535 listening (TestVhost::log)
server=
localhost:8536 listening (TestModperl::merge)
server localhost:8537 lis=
tening (TestModperl::perl_options)
server localhost:8538 listening (Test=
Modperl::perl_options2)
server localhost:8539 listening (TestModperl::se=
tupenv)
server localhost:8540 listening (TestModules::proxy)
server l=
ocalhost:8541 listening (TestProtocol::pseudo_http)
server localhost:854=
2 listening (TestProtocol::eliza)
server localhost:8543 listening (TestP=
rotocol::echo_bbs2)
server localhost:8544 listening (TestProtocol::echo_=
block)
server localhost:8545 listening (TestProtocol::echo_timeout)
s=
erver localhost:8546 listening (TestProtocol::echo_filter)
server localh=
ost:8547 listening (TestProtocol::echo_bbs)
server localhost:8548 listen=
ing (TestProtocol::echo_nonblock)
server localhost:8549 listening (TestP=
reConnection::note)
server localhost:8550 listening (TestHooks::trans) r>server localhost:8551 listening (TestHooks::hookrun)
server localhost:=
8552 listening (TestHooks::startup)
server localhost:8553 listening (Tes=
tHooks::stacked_handlers2)
server localhost:8554 listening (TestHooks::i=
nit)
server localhost:8555 listening (TestFilter::in_bbs_inject_header)<=
br>server localhost:8556 listening (TestFilter::both_str_con_add)
server=
localhost:8557 listening (TestFilter::in_bbs_msg)
server localhost:8558=
listening (TestFilter::in_str_msg)
server localhost:8559 listening (Tes=
tDirective::perlmodule)
server localhost:8560 listening (TestDirective::=
perlrequire)
server localhost:8561 listening (TestPerl::ithreads)
ser=
ver localhost:8562 listening (TestDirective::perlloadmodule3)
server loc=
alhost:8563 listening (TestDirective::perlloadmodule4)
server localhost:=
8564 listening (TestDirective::perlloadmodule5)
server localhost:8565 li=
stening (TestAPI::add_config)
server localhost:8566 listening (TestDirec=
tive::perlloadmodule6)
server localhost:8567 listening (TestHooks::push_=
handlers_anon)
t/perl/ithreads.........1..4
# Running under perl vers=
ion 5.010000 for linux
# Current time local: Sat Feb  2 14:20:41 20=
08
# Current time GMT:   Sat Feb  2 01:20:41 2008
# Us=
ing Test.pm version 1.25
# Using Apache/Test.pm version 1.31
ok 1
=
FAILED tests 2-4
        Failed 3/4 t=
ests, 25.00% okay
t/perl/ithreads2........# connecting to http://localho=
st:8561/TestPerl__ithreads
1..4
# Running under perl version 5.010000=
for linux
# Current time local: Sat Feb  2 14:20:44 2008
# Curr=
ent time GMT:   Sat Feb  2 01:20:44 2008
# Using Test.pm =
version 1.25
# Using Apache/Test.pm version 1.31
ok 1
FAILED tests=
2-4
        Failed 3/4 tests, 25.00%=
okay
t/perl/ithreads_args....1..1
# Running under perl version 5.010=
000 for linux
# Current time local: Sat Feb  2 14:20:41 2008
# C=
urrent time GMT:   Sat Feb  2 01:20:41 2008
# Using Test.=
pm version 1.25
# Using Apache/Test.pm version 1.31
FAILED before any=
test output arrived
t/perl/ithreads_eval....1..1
# Running under per=
l version 5.010000 for linux
# Current time local: Sat Feb  2 14:20=
:41 2008
# Current time GMT:   Sat Feb  2 01:20:41 2008 r># Using Test.pm version 1.25
# Using Apache/Test.pm version 1.31
FA=
ILED before any test output arrived
Failed Test    &=
nbsp;       Stat Wstat Total Fail  List =
of Failed
------------------------------------------------------------ --=
-----------------
t/perl/ithreads.t      &=
nbsp;           &nbs=
p;  4    3  2-4
t/perl/ithreads2.t  &=
nbsp;           &nbs=
p;     4    3  2-4
t/perl/ithrea=
ds_args.t           =
    ??   ??  ??
t/perl/ithreads_eval.t&nbs=
p;            &=
nbsp; ??   ??  ??
Failed 4/4 test scripts. 8/10 subtests =
failed.
Files=3D4, Tests=3D10, 33 wallclock secs ( 8.86 cusr +  0.8=
6 csys =3D  9.72 CPU)
Failed 4/4 test programs. 8/10 subtests faile=
d.
[warning] server localhost:8529 shutdown
[  error] error runn=
ing tests (please examine t/logs/error_log)
[  error] oh golly, ser=
ver dumped core
[  error] for stacktrace, run: gdb /usr/sbin/httpd =
-core /home/user/mod_perl-2.0/t/core.6705
[  error] oh dangit, serv=
er dumped core again
[  error] for stacktrace, run: gdb /usr/sbin/h=
ttpd -core /home/user/mod_perl-2.0/t/core.6714
[  error] oh rats, s=
erver dumped core again
[  error] for stacktrace, run: gdb /usr/sbi=
n/httpd -core /home/user/mod_perl-2.0/t/core.6727
[  error] oh gosh=
, server dumped core again
[  error] for stacktrace, run: gdb /usr/=
sbin/httpd -core /home/user/mod_perl-2.0/t/core.6736
user@Sen:~/mod_perl=
-2.0$


I've had a look and Google and unfortunately it seems that=
I'm the only one with this issue. Does anyone know why this is failing and=
how I can prevent it?

Huge thanks to any replies.

r />Express yourself instantly with MSN Messenger! dmt.com/AVE/go/onm00200471ave/direct/01/' target=3D'_new'>MSN Messenger=

=

--_a60c286f-72c2-4c04-a8c7-08d42e78ca0e_--

Re: mod_perl"s make test fails.

am 02.02.2008 04:21:12 von Colin Wetherbee

Zakk wrote:
> For the last few days, I've been trying to install mod_perl for my
> server. It's running Slackware 12.0 with Apache 2.2.8 (with APR 1.2.12)
> and Perl 5.10.0.

I'm under the impression we're still under the "don't use Perl 5.10 with
mod_perl yet" directive.

A number of internal changes in Perl 5.10, which was released in
December, caused some instability in mod_perl.

Colin

Re: mod_perl"s make test fails.

am 02.02.2008 06:23:43 von Colin Wetherbee

Zakk wrote:
> > Date: Fri, 1 Feb 2008 22:21:12 -0500
> > From: cww@denterprises.org
> > To: rw92672685@hotmail.com
> > CC: modperl@perl.apache.org
> > Subject: Re: mod_perl's make test fails.
> >
> > Zakk wrote:
> > > For the last few days, I've been trying to install mod_perl for my
> > > server. It's running Slackware 12.0 with Apache 2.2.8 (with APR
> 1.2.12)
> > > and Perl 5.10.0.
> >
> > I'm under the impression we're still under the "don't use Perl 5.10 with
> > mod_perl yet" directive.
> >
> > A number of internal changes in Perl 5.10, which was released in
> > December, caused some instability in mod_perl.
> >
> > Colin
>
> Okay, I wasn't aware of that. It wasn't mentioned anywhere on the site.
>
> So would downgrading Perl to 5.8.8 (using mod_perl 2.0.3) would work, right?

Definitely. That's the best way to go for now.

Colin

Re: mod_perl"s make test fails.

am 03.02.2008 01:42:45 von gozer

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig929682192C133B8EFE1A12AC
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Colin Wetherbee wrote:
> Zakk wrote:
>> For the last few days, I've been trying to install mod_perl for my=20
>> server. It's running Slackware 12.0 with Apache 2.2.8 (with APR 1.2.12=
)=20
>> and Perl 5.10.0.
>=20
> I'm under the impression we're still under the "don't use Perl 5.10 wit=
h=20
> mod_perl yet" directive.

That's pretty much correct, for the threaded case.

trunk/ should be working just fine on prefork now, more testing of this
fact would certainly be welcome.

--=20
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/


--------------enig929682192C133B8EFE1A12AC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHpQ4NyzKhB4jDpaURAl8VAKCXbuHiHE87PYNJXxBgzyH4p9FyQACf Sv36
g5L4fNxyMVFnb4cnKf851UM=
=xrN6
-----END PGP SIGNATURE-----

--------------enig929682192C133B8EFE1A12AC--